package com.yida.gwj.vote.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yida.common.core.annotation.Excel;
import com.yida.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author lqq
 * @date 2023-03-10
 */
@ApiModel("投票项目对象实体")
public class GwjVoteProject extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("投票ID")
	private Long voteId;

	@ApiModelProperty("投票标题")
	@Excel(name = "投票标题")
	private String voteTitle;

	@ApiModelProperty("投票类别")
	@Excel(name = "投票类别")
	private String voteType;

	@ApiModelProperty("小区ID")
	@Excel(name = "小区ID")
	private Long communityId;

	@ApiModelProperty("投票发起时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Excel(name = "投票发起时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date startTime;

	@ApiModelProperty("投票结束时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Excel(name = "投票结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date endTime;

	@ApiModelProperty("公示截止时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@Excel(name = "公示截止时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
	private Date publicEndTime;

	@ApiModelProperty("投票说明内容")
	@Excel(name = "投票说明内容")
	private String voteContent;

	@ApiModelProperty("投票状态：0审核中、1投票中、2办结")
	@Excel(name = "投票状态：0审核中、1投票中、2办结")
	private String voteStatus;

	@ApiModelProperty("网页公示地址")
	@Excel(name = "网页公示地址")
	private String voteUrl;

	@ApiModelProperty("审批状态：0未审核、1.同意、2不同意")
	@Excel(name = "审批状态：0未审核、1.同意、2不同意")
	private String auditStatus;

	@ApiModelProperty("发起端类型：1公维金投票、2.电子投票")
	@Excel(name = "发起端类型：1公维金投票、2.电子投票")
	private String initiateType;

	@ApiModelProperty("提交状态：0未提交、1已提交")
	@Excel(name = "提交状态：0未提交、1已提交")
	private String submitStatus;

	@ApiModelProperty("审批意见")
	@Excel(name = "审批意见")
	private String auditOpinion;

	@ApiModelProperty("地区ID")
	@Excel(name = "地区ID")
	private Long areaId;

	@ApiModelProperty("街道ID")
	@Excel(name = "街道ID")
	private Long streetId;

	@ApiModelProperty("投票创建者ID")
	@Excel(name = "投票创建者ID")
	private Long createUserId;

	@ApiModelProperty("访问次数")
	@Excel(name = "访问次数")
	private Integer accessNum;

	@ApiModelProperty("公维金业务编码")
	@Excel(name = "公维金业务编码")
	private Long bizNum;

	public String getVoteType() {
		return voteType;
	}

	public void setVoteType(String voteType) {
		this.voteType = voteType;
	}

	public Date getPublicEndTime() {
		return publicEndTime;
	}

	public void setPublicEndTime(Date publicEndTime) {
		this.publicEndTime = publicEndTime;
	}

	public Long getBizNum() {
		return bizNum;
	}

	public void setBizNum(Long bizNum) {
		this.bizNum = bizNum;
	}

	public String getAuditOpinion() {
		return auditOpinion;
	}

	public void setAuditOpinion(String auditOpinion) {
		this.auditOpinion = auditOpinion;
	}

	public void setVoteId(Long voteId) {
		this.voteId = voteId;
	}

	public Long getVoteId() {
		return voteId;
	}

	public void setVoteTitle(String voteTitle) {
		this.voteTitle = voteTitle;
	}

	public String getVoteTitle() {
		return voteTitle;
	}

	public Long getCommunityId() {
		return communityId;
	}

	public void setCommunityId(Long communityId) {
		this.communityId = communityId;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setVoteContent(String voteContent) {
		this.voteContent = voteContent;
	}

	public String getVoteContent() {
		return voteContent;
	}

	public void setVoteStatus(String voteStatus) {
		this.voteStatus = voteStatus;
	}

	public String getVoteStatus() {
		return voteStatus;
	}

	public void setVoteUrl(String voteUrl) {
		this.voteUrl = voteUrl;
	}

	public String getVoteUrl() {
		return voteUrl;
	}

	public void setInitiateType(String initiateType) {
		this.initiateType = initiateType;
	}

	public String getInitiateType() {
		return initiateType;
	}

	public void setSubmitStatus(String submitStatus) {
		this.submitStatus = submitStatus;
	}

	public String getSubmitStatus() {
		return submitStatus;
	}

	public String getAuditStatus() {
		return auditStatus;
	}

	public void setAuditStatus(String auditStatus) {
		this.auditStatus = auditStatus;
	}

	public void setAreaId(Long areaId) {
		this.areaId = areaId;
	}

	public Long getAreaId() {
		return areaId;
	}

	public void setStreetId(Long streetId) {
		this.streetId = streetId;
	}

	public Long getStreetId() {
		return streetId;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public Integer getAccessNum() {
		return accessNum;
	}

	public void setAccessNum(Integer accessNum) {
		this.accessNum = accessNum;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("VoteProject{");
		sb.append("voteId=").append(voteId);
		sb.append(", voteTitle='").append(voteTitle).append('\'');
		sb.append(", communityId=").append(communityId);
		sb.append(", startTime=").append(startTime);
		sb.append(", endTime=").append(endTime);
		sb.append(", voteContent='").append(voteContent).append('\'');
		sb.append(", voteStatus='").append(voteStatus).append('\'');
		sb.append(", voteUrl='").append(voteUrl).append('\'');
		sb.append(", auditStatus='").append(auditStatus).append('\'');
		sb.append(", initiateType='").append(initiateType).append('\'');
		sb.append(", submitStatus='").append(submitStatus).append('\'');
		sb.append(", areaId=").append(areaId);
		sb.append(", streetId=").append(streetId);
		sb.append(", createUserId=").append(createUserId);
		sb.append(", accessNum=").append(accessNum);
		sb.append('}');
		return sb.toString();
	}
}
